const odooModelName = 'product.product'

const values_default = {
  can_be_expensed: true,
  //  pachase_ok: false,
  //  sale_ok: false,
  list_price: 1,
  standard_price: 1

  // m2m的默认值如何设置
  // taxes_id: []
}

const domain_default = {
  can_be_expensed: true
}

const fields_default = {}

const filterItems = ['name___like']
const columns = ['name', 'default_code']

const formItems = ['name', 'default_code']
const Model = {
  name: odooModelName,

  configs: {
    values_default,
    domain_default,
    fields_default,
    columns,
    filterItems,
    formItems,
    handle: {
      view: { hidden: true }
    }
  }
}
export default Model
